package com.bdmc.car.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bdmc.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDate;

;

/**
 * 维修信息对象 car_maintenance
 *
 * @author bdmc
 * @date 2023-01-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("car_maintenance")
public class CarMaintenance extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 维修信息id
     */
    @TableId(value = "maintenance_id")
    private Integer maintenanceId;
    /**
     * 维修报备人
     */
    private String reporter;
    /**
     * 车辆id
     */
    private Integer carId;
    /**
     * 维修送达时间
     */
    private LocalDate deliveryTime;
    /**
     * 维修完成时间
     */
    private LocalDate finishTime;
    /**
     * 总金额
     */
    private BigDecimal totalAmount;
    /**
     * 修车厂id
     */
    private Integer garageId;
    /**
     * 维修信息录入人
     */
    private String enterBy;
    /**
     * 维修单照片
     */
    private String photoList;

}
